import db from '../../lib/db';
import log from "../../helpers/logger";
import { webSocketStore } from '../websocket-store';
//#region AutoCreateCode
const TestCode = 1000;
//#endregion AutoCreateCode
export async function qrcodeloginMessage(message,client_id, ws) {
  try {
    // 获取目标客户端连接
    const client = webSocketStore.getClient(client_id);
    if (!client) {
      return 
    }

      client.send(message);
      
  } catch (e) {
    log.error(e);
  }
}
